/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sigmacinema.entity;

import java.util.ArrayList;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 *
 * @author sangaji
 */
@Entity
@Table(name="TB_Hall")
public class Hall {
    
    @Id
    @Column(name="hall_id",nullable=false,length=10)
    private String id;
    
    @Column(name="hall_name",nullable=false,length=20)
    private String name;
    
    @Column(name="capacity",nullable=false)
    private Integer capacity;
    
    @Column(name="description",length=255)
    private String description;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
